﻿using System;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using FirebirdSql.Data.FirebirdClient;

namespace RMSM
{
	public static class Session
	{
		public static string CnnStr = "Database={0};User=SYSDBA;Password=masterkey;Charset=UTF8;";
		public static bool UseDBExp = false;
		public static string Version = "2.2";
		public static string AppPath = null;

		public static int inprocess = 0;
		public static int RowCount = 30;
		public static int PageIndex = 0;

		public static Hashtable hstMauSac = null;
		public static Hashtable hstXuatXu = null;
		public static Hashtable hstPhuKien = null;

		public static int? LoaiTrangPhucID = null;
		public static int? LoaiThanhToan = null;
		public static int Hour = 10;
		public static int Minute = 00;

		public static int LoginID = 1;
		public static int QuyenHanID = 0;

		public static bool PQ_EditDanhMuc = false;
		public static bool PQ_DelDanhMuc = false;
		public static bool PQ_DelDichVuTrongHopDong = false;
		public static bool PQ_DelHopDong = false;
		public static bool PQ_BaoCaoTaiChinh = false;
		public static bool PQ_TKLanSuDung = false;
		public static bool PQ_BDSoLuongHopDong = false;
		public static bool PQ_BDDoanhThu = false;
		public static bool PQ_LichSuTacNghiep = false;

		public static bool NVTP_NgayThu = true;
		public static bool NVTP_NgayGiao = true;
		public static bool NVTP_NgayTra = true;
		public static bool NVTD_Ngay = true;
		public static bool NVCH_NgayChup = true;
		public static bool NVCH_NgayChon = true;
		public static bool NVCH_NgayGiao = true;
		public static bool NVQP_NgayQuay = true;
		public static bool NVQP_NgayGiao = true;
		public static bool NVDVK_Ngay = true;

		public static LoaiTrangPhucBOCollection loaiTrangPhucBOCollection = null;
		public static TrangPhucBOCollection trangPhucBOCollection = null;
		public static TrangDiemBOCollection trangDiemBOCollection = null;
		public static ChupHinhBOCollection chupHinhBOCollection = null;
		public static QuayPhimBOCollection quayPhimBOCollection = null;
		public static DichVuKhacBOCollection dichVuKhacBOCollection = null;

		public static ThietDatBOCollection thietDatBOCollection = null;
	}
}
